import Vue from 'vue'
import Router from 'vue-router'
// import HelloWord from '@/components/HelloWord.vue'
// import HelloWorld from '@/components/HelloWorld'
// const HelloWorld =()=> import('../components/HelloWorld')
const TodoList =()=> import('../views/TodoList')
Vue.use(Router);

export default new Router({
    routes: [
        {
            path:'/',
            component: TodoList
        },
        {
            path:'todolist',
            name:'todolist',
            component: TodoList
        }
    ]
})